POV-Ray : Newsgroups : moray.win : Material space (local, parent, world) : Re: Material space (local, parent, world) Server Time
29 Jul 2024 02:33:37 EDT (-0400)
  Re: Material space (local, parent, world)  
From: Tony Vigil
Date: 26 Jul 1999 19:59:59
Message: <379CF675.15C7F757@emc-inc.com>
This does certainly work.  The only problem is if you have several objects of
different size, all using the same texture.  If you scale the texture to fit
the object that is scaled <10,5,1>, then the other objects will have the same
problem.

Damned if you do, damned if you don't.

"Bernd M. Jordan" wrote:

> Another approach would be to scale the texture in the texture editor
> appropriately. In your example it would be <.1, .2, 1>. When the object is
> scaled <10, 5, 1> the texture ends up with <1,1,1>.
> I had trouble with this concept in Moray too but there are ways around it.
> Tony's approach definitely works but PoV-Ray needs to create another object
> and goes through some initial CSG operations/checks. I guess.
>
> Bernd
>
> Tony Vigil wrote in message <379BFCE3.335D4C2B@gte.net>...
> >Create a union CSG object adding only the cube.
> >Then add the texture to the CSG object.  The CSG object is scaled at
> ><1,1,1>
> >
> >Paul Johnsson wrote:
> >
> >> Hello.
> >>
> >> I have some troubles when applying a "wood" texture to a object in
> >> Moray. The object is a simple cube, that is scaled with <10,5,1>.
> >>
> >> I have created a very simple wood-texture, and would like to apply this
> >> texture to the cube, to get a piece of nice wood. This works fine but
> >> the material is scaled in the same way as the cube <10,5,1> which makes
> >> it distorted.
> >>
> >> I have tried to use the "Space Parent" and this solves the problem with
> >> the distorted material. But when I translate the cube the material is
> >> NOT translated if the space is "parent".
> >>
> >> Is it possible to "lock" a material posistion to a object, so that the
> >> material gets translated but NOT scaled...?
> >>
> >> I would aprechiate any help on this subject.
> >


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.